package com.pnnd.stream;

/**
 * 缓冲区类型
 * HEAP 堆内内存
 * DIRECT 堆外内存
 * SOCKET 网络内存
 */
public enum BufferType {
    HEAP(0),
    OFF_HEAP(1),
    SOCKET(2);

    BufferType(int value){
        this.value = value;
    }
    private int value;

    public int getValue(){
        return value;
    }
}
